/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.Area;
import com.ez2find.model.Job;
import com.ez2find.model.JobCategorie;
import com.ez2find.model.RegisterUser;
import com.ez2find.model.Site;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Owner
 */
@Local
public interface JobManagerLocal {

    void create(Job job) throws Exception;

    void delete(Job job) throws Exception;

    Job find(long id);

    long lastCode();

    List<Job> listAll();

    void update(Job job) throws Exception;

    List<Job> listJobsArea(Area area, boolean jobC, JobCategorie jobCategorie, String consult);

    List<Job> listJobsSite(Site site, boolean jobC, JobCategorie jobCategorie, String consult);

    Job merge(Job job) throws Exception;
    
}
